import java.util.EnumSet;
import org.rsbot.script.methods.Walking;
import org.rsbot.script.wrappers.RSArea;
import org.rsbot.script.wrappers.RSPath;
import org.rsbot.script.wrappers.RSPath.TraversalOption;
import org.rsbot.script.wrappers.RSTile;

public class Fxjewellry$AlKaharid extends Fxjewellry.Smelter
{
  private final RSArea a = new RSArea(new RSTile(3271, 3183), new RSTile(3280, 3189));

  private final RSArea b = new RSArea(new RSTile(3264, 3160), new RSTile(3273, 3175));

  private final RSTile bankTile = new RSTile(3270, 3167);
  private final RSTile furnaceTile = new RSTile(3275, 3186);
  private RSPath bankToFurnace = null;
  private RSPath furnaceToBank = null;

  public Fxjewellry$AlKaharid(Fxjewellry paramFxjewellry)
  {
    super(paramFxjewellry);
  }

  public RSArea getArea()
  {
    return this.a;
  }

  public RSArea getBankArea() {
    return this.b;
  }

  public void walkToBank() {
    if (this.furnaceToBank == null) {
      this.bankToFurnace = Fxjewellry.access$000(this.this$0).getPath(this.bankTile);
    }
    this.furnaceToBank.traverse(EnumSet.of(RSPath.TraversalOption.HANDLE_RUN, RSPath.TraversalOption.SPACE_ACTIONS));
  }

  public void walkToFurnace() {
    if (this.bankToFurnace == null) {
      this.bankToFurnace = Fxjewellry.access$100(this.this$0).getPath(this.furnaceTile);
    }
    this.bankToFurnace.traverse(EnumSet.of(RSPath.TraversalOption.HANDLE_RUN, RSPath.TraversalOption.SPACE_ACTIONS));
  }
}